package com.linewell.pojo;
import java.util.List;

public class Message {

	private Long messageId;
	private UserInfo sender;
	private String content;
	private String messageDate;
	private Integer isRead;
	private UserInfo receiver;
	private Integer type;
	private List<Message> unreadMessage;
	private List<Message> unreceivedMessage;
	
	public Long getMessageId() {
		return messageId;
	}
	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getMessageDate() {
		return messageDate;
	}
	public void setMessageDate(String messageDate) {
		this.messageDate = messageDate;
	}
	public UserInfo getSender() {
		return sender;
	}
	public void setSender(UserInfo sender) {
		this.sender = sender;
	}
	public Integer getIsRead() {
		return isRead;
	}
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}
	public UserInfo getReceiver() {
		return receiver;
	}
	public void setReceiver(UserInfo receiver) {
		this.receiver = receiver;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public List<Message> getUnreadMessage() {
		return unreadMessage;
	}
	public void setUnreadMessage(List<Message> unreadMessage) {
		this.unreadMessage = unreadMessage;
	}
	public List<Message> getUnreceivedMessage() {
		return unreceivedMessage;
	}
	public void setUnreceivedMessage(List<Message> unreceivedMessage) {
		this.unreceivedMessage = unreceivedMessage;
	}
	public Message() {
		super();
	}
	public Message(String content, Integer type) {
		super();
		this.content = content;
		this.type = type;
	}
}
